<html>
<head>
<style>.foo {}</style>
</head>
<body onload="document.writeln('<html><body>B</body></html>');">A</body>
</html>
